package day10;

import java.util.*;

//TIP 要<b>运行</b>代码，请按 <shortcut actionId="Run"/> 或
// 点击装订区域中的 <icon src="AllIcons.Actions.Execute"/> 图标。
public class Main {
    public static void main(String[] args) {
        int[][] a1 = new int[1][1];
        int[][] aa = {{1, 2, 3,}, {4, 5, 6}, {7, 8, 9}};
        for (int i = 0; i < aa.length; i++) {
            for (int j = 0; j < aa.length; j++) {
                System.out.println(aa[i][j]);
            }
        }
        List<String> list = new ArrayList<>();
        list.add("aaa");
        list.add("bbb");
        list.add("ccc");
        String[] ss = list.toArray(new String[0]);
        Set<String> set = new HashSet<>(list);
        System.out.println(set);
        for (int i = 0; i < ss.length; i++) {
            System.out.println(ss[i]);
        }

        int a = 5;
        System.out.println((a == 5 ? "five" : 5));


    }

    public void print(int a, String b) {
    }

    public void print(int a) {
    }

    /*public int print(int a, String b) {
        return 0;
    }*/

    public double m(double a, double b) {
        return 0;
    }

    public double m(int a, double b) {
        return 0;
    }

    public int m(int a, int b) {
        return 0;
    }

}